package com.springboot.model;

public class UserLoginForm {
    private Integer userId;

    private String userTel;

    private String userPwd;

    private Integer userType;

    private String userName;

    private String userSex;

    private String logoLink;

    public UserLoginForm() {
    }

    public UserLoginForm(Integer userId, String userTel, String userPwd,
                         Integer userType, String userName, String userSex, String logoLink) {
        this.userId = userId;
        this.userTel = userTel;
        this.userPwd = userPwd;
        this.userType = userType;
        this.userName = userName;
        this.userSex = userSex;
        this.logoLink = logoLink;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public String getLogoLink() {
        return logoLink;
    }

    public void setLogoLink(String logoLink) {
        this.logoLink = logoLink;
    }

    public String toTestString() {
        return "UserLoginForm{" +
                "userId=" + userId +
                ", userTel='" + userTel + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", userType=" + userType +
                ", userName='" + userName + '\'' +
                ", userSex='" + userSex + '\'' +
                ", logoLink='" + logoLink + '\'' +
                '}';
    }

    public String toString1() {
        return "{" +
                "\"userName:\":\"" + userName + '\"' +
                "\"indexs:\":\"" + userSex + '\"' +
                "\"phonenum:\":\"" + userTel + '\"' +
                "\"logoLink:\":\"" + logoLink + '\"' +
                '}';
    }

    //封装Json格式字符串(用于助理列表显示）
    public String toString() {
        return "{" +
                "\"logoLink\":\"" + logoLink + '\"' +
                ", \"assistantName\":\"" + userName + '\"' +
                ", \"assistantTel\":\"" + userTel + '\"' +
                '}';
    }

    public String toString11() {
        return "{" +
                "\"userName\":\"" + userName + '\"' +
                ",\"indexs\":\"" + userSex + '\"' +
                ",\"logoLink\":\"" + logoLink + '\"' +
                '}';
    }
}